package com.ssy.lingxi.scheduler.api.model;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 定时任务Id作为接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-13
 */
public class ScheduleTaskIdVO implements Serializable {
    private static final long serialVersionUID = -7243619514009762755L;

    /**
     * 定时任务Id
     */
    @NotNull(message = "定时任务Id要大于0")
    @Positive(message = "定时任务Id要大于0")
    private Long taskId;

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }
}
